package com.suny.Pen.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@Schema(description = "圈舍信息VO")
public class PenVO  implements Serializable {
    @Schema(description = "圈舍ID")
    private Integer penId;
    
    @Schema(description = "牧场ID")
    private Integer farmId;
    
    @Schema(description = "圈舍名称")
    private String penName;
    
    @Schema(description = "存栏量")
    private Integer amountLivestock;
    
    @Schema(description = "是否启用")
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "创建时间")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "更新时间")
    private Date updateTime;
    
    @Schema(description = "牧场名称")
    private String farmName;
} 